package com.hkyp.ss.course.web.dto.request;


import com.hkyp.ss.course.web.dto.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 用于添加课评
 *
 * 对应实体类 CourseComment
 */
@Data
public class WebCommentDTO extends BaseDTO {




    /**
     * 课评id
     * courseCommentId
     */
    @ApiModelProperty(value = "课评id courseCommentId")
    @NotNull(message = "课评id不能为null")
    private Long CCId;


    /**
     * 评论内容
     *
     * 限制长度最长500字
     */
    @ApiModelProperty(value = "评论内容", notes = "限制长度最长500字")
    @Size(max = 500,min = 1)
    private String content;




    ////////////////////////////////////////////////////////////////////

}
